using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using System.Data;

using PlugNT.Safe;
using PlugNT.Database;
using PlugNT.Database.Common.Simple;
using PlugNT.Cms.Custom;
using PlugNT.App.Shop.Model;

namespace PlugNT.App.Shop.BLL
{
    public class Delivery 
    {

        private static readonly PlugNT.App.Shop.DAL.Delivery dal = new PlugNT.App.Shop.DAL.Delivery();



        public bool Add(DeliveryInfo model)
        {
            return dal.Add(model);
        }

        public bool Update(DeliveryInfo model)
        {
            return dal.Update(model);
        }

        public bool Delete(int id)
        {
            return dal.Delete(id);
        }



        public DataTable GetList(int sysModelId, string andWhere)
        {
            return dal.GetList(sysModelId, andWhere);
        }

        public static int GetMaxId()
        {
            return dal.GetMaxId();
        }

        public DeliveryInfo GetDeliveryInfo(int id)
        {
            return dal.GetDeliveryInfo(id);

        }


    }
}

